package com.todo.sight.application.iface.backend.request;

import com.todo.common.common.entity.request.PageRequest;
import com.todo.common.common.enums.CityTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/17 15:31
 * @description
 */
@Data
@Schema(title = "多条件查询城市信息入参",description = "多条件查询城市信息入参")
public class QueryCityInfoByConditionReq extends PageRequest {

    /**
     * 主键id
     */
    @Schema(title = "主键id",description = "主键id")
    private Long id;
    /**
     * 名称
     */
    @Schema(title = "名称",description = "名称")
    private String name;
    /**
     * 类型：省、市、区等
     * {@link CityTypeEnum}
     */
    @Schema(title = "类型",description = "省、市、区等")
    private Integer type;
    /**
     * 父名称
     */
    @Schema(title = "父名称",description = "父名称")
    private String parentName;
    /**
     * 是否对外展示
     */
    @Schema(title = "是否对外展示",description = "是否对外展示")
    private Integer isShow;

    public boolean baseCheck() {
        return true;
    }
}
